import React from 'react'

class ListItem extends React.Component {
  render() {
    const { title, desc = "默认描述", image } = this.props
    return <dl>
      <dt>
        <img src={image} alt="" />
      </dt>
      <dd>
        <h3>{title}</h3>
        <p>{desc}</p>
      </dd>
    </dl>
  }
}

export default ListItem